# Standard setup
cmake_minimum_required (VERSION 2.6)
project (artoadlet CXX C)

# Custom cmake scripts
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${artoadlet_SOURCE_DIR}/../../../cmake/Modules/")

# Find toadlet
find_package (toadlet REQUIRED)

# Includes
include_directories (${logo_SOURCE_DIR} ${TOADLET_INCLUDE_DIR})

# Libraries
set (LIBS ${TOADLET_LIBRARIES})

# Source files
set (SRC
	../../main/toadletApp.cpp
	../../main/toadletMain.cpp
	src/ARToadlet.cpp
)

# Headers
set (H
	src/ARToadlet.h
)

# Executable
add_executable (artoadlet ${SRC} ${H})
target_link_libraries (artoadlet ${LIBS})
install (TARGETS artoadlet DESTINATION bin)
